:root {
  --gold: #FFD700;
  --green: #228B22;
  --dark-blue: #1a237e;
  --red: #d32f2f;
  --orange: #ff6f00;
  --cyan: #00bcd4;
  --purple: #7c4dff;
  --dark: #0d1b2a;
  --light: #f5f5f5;
  --card-bg: rgba(255,255,255,0.95);
  --glass: rgba(255,255,255,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--dark);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,0.2);
  transition: all 0.3s;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

/* Search Box */
.header-search-box {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
}

.search-box-inner {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 50px;
  padding: 5px 8px;
  transition: all 0.3s;
}

.search-box-inner:focus-within {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
}

.search-tag {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  padding: 0 8px;
  white-space: nowrap;
  cursor: pointer;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 3px 6px;
  min-width: 0;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.search-hot {
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 600;
  padding: 0 6px;
  white-space: nowrap;
  cursor: pointer;
}

.search-submit {
  background: linear-gradient(90deg, var(--gold), #ffaa00);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: #0d1b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.search-submit:hover {
  transform: scale(1.1);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(13,27,42,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 12px;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1001;
}

.search-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.dropdown-list {
  list-style: none;
}

.dropdown-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dropdown-list li:last-child {
  border-bottom: none;
}

.dropdown-list li:hover {
  color: var(--gold);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.rank-num.rank-top-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #0d1b2a; }
.rank-num.rank-top-2 { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #0d1b2a; }
.rank-num.rank-top-3 { background: linear-gradient(135deg, #CD7F32, #B87333); color: #fff; }

.keyword {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.mobile-search-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
}

.logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  gap: 6px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.3s;
  position: relative;
}

.main-nav a:hover {
  background: rgba(255,215,0,0.15);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 26px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b3a4b 40%, #2d6a4f 100%);
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/datu.jpg") center/cover no-repeat;
  opacity: 0.18;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(13,27,42,0.9) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 4px 20px rgba(255,215,0,0.3);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.hero-countdown > div {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 16px;
  padding: 20px 28px;
  min-width: 90px;
}

.hero-countdown span {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.hero-countdown small {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  display: block;
}

.countdown-label {
  text-align: center;
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), #ffaa00);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(255,215,0,0.3);
  transition: all 0.3s;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,215,0,0.4);
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(180deg, #132a3a, #0d1b2a);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  padding: 10px 0;
  overflow: hidden;
}

.announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-inner > i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.announcement-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.announcement-scroll span {
  display: inline-block;
  padding: 0 24px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  position: relative;
}

.announcement-scroll span::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.announcement-scroll span:last-child::after {
  display: none;
}

.hero-marquee {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
}

.hero-marquee span {
  display: inline-block;
  padding: 0 40px;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Quick Links */
.quick-links {
  background: linear-gradient(180deg, #0d1b2a, #132a3a);
  padding: 50px 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.08);
}

.quick-item:hover {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-5px);
}

.qi-icon {
  font-size: 32px;
}

.qi-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* Today Matches */
.today-matches {
  background: linear-gradient(135deg, #1b3a4b, #0d1b2a);
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 40px;
  position: relative;
}

.section-title span {
  position: relative;
  display: inline-block;
  padding: 0 20px;
}

.section-title span::before,
.section-title span::after {
  content: "⚽";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.section-title span::before { left: -10px; }
.section-title span::after { right: -10px; }

.match-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.match-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.match-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,215,0,0.4);
  transform: translateY(-4px);
}

.match-time {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.match-teams .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.match-teams .team img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.match-teams .team span {
  font-size: 15px;
  font-weight: 600;
}

.vs {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255,215,0,0.1);
  padding: 6px 14px;
  border-radius: 20px;
}

.match-group {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Schedule */
.schedule-section {
  background: linear-gradient(180deg, #132a3a, #0d1b2a);
  padding: 60px 0;
}

.schedule-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(90deg, var(--gold), #ffaa00);
  color: var(--dark);
  border-color: var(--gold);
  font-weight: 700;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.group-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s;
}

.group-card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-3px);
}

.group-card h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255,215,0,0.2);
  padding-bottom: 10px;
}

.group-teams > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.group-teams > div:last-child {
  border-bottom: none;
}

.group-teams img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.group-teams span {
  font-size: 14px;
}

.round-date {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin: 28px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.match-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 20px;
  transition: all 0.3s;
}

.match-row:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,215,0,0.2);
}

.match-row .time {
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  min-width: 56px;
}

.match-row .group {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  min-width: 40px;
}

.match-row .teams {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.match-row .teams img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.match-row .teams span {
  font-size: 15px;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}

.match-row .teams b {
  color: var(--gold);
  font-size: 13px;
  background: rgba(255,215,0,0.1);
  padding: 4px 12px;
  border-radius: 10px;
}

/* Knockout */
.knockout-bracket {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ko-round h3 {
  font-size: 16px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
}

.ko-match {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.ko-match.final {
  border-color: var(--gold);
  background: rgba(255,215,0,0.08);
}

.ko-match b {
  color: var(--gold);
}

/* Players */
.players-section {
  background: linear-gradient(180deg, #0d1b2a, #1a1a2e);
  padding: 60px 0;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.player-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.player-card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.player-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 24px;
}

.player-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin-bottom: 14px;
}

.player-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
}

.player-country {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 4px;
}

.player-pos {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.player-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
}

.player-stats div {
  text-align: center;
}

.player-stats span {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.player-stats b {
  display: block;
  font-size: 20px;
  color: var(--gold);
}

.player-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* News */
.news-section {
  background: linear-gradient(180deg, #1a1a2e, #0d1b2a);
  padding: 60px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  gap: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.news-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-3px);
}

.news-card > img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-body {
  padding: 18px 18px 18px 0;
  display: flex;
  flex-direction: column;
}

.news-body h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-body time {
  font-size: 12px;
  color: var(--cyan);
  margin-top: 10px;
}

/* Predictions */
.predictions-section {
  background: linear-gradient(135deg, #132a3a, #1a1a2e);
  padding: 60px 0;
}

.predictions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pred-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s;
}

.pred-card:hover {
  border-color: rgba(255,215,0,0.25);
}

.pred-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.pred-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pred-team img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pred-team span {
  font-size: 15px;
  font-weight: 700;
}

.pred-vs {
  font-size: 14px;
  color: var(--gold);
  background: rgba(255,215,0,0.1);
  padding: 6px 14px;
  border-radius: 20px;
}

.pred-bar {
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.pred-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--green), #4caf50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  transition: width 1s ease;
}

.pred-bar-away .pred-fill {
  background: linear-gradient(90deg, var(--red), #ef5350);
}

.pred-bar-draw .pred-fill {
  background: linear-gradient(90deg, var(--cyan), #26c6da);
}

.pred-fill span {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.pred-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.pred-tip {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

/* Comments */
.comments-section {
  background: linear-gradient(180deg, #0d1b2a, #132a3a);
  padding: 60px 0;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s;
}

.comment-item:hover {
  border-color: rgba(255,215,0,0.2);
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.comment-body {
  flex: 1;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-meta strong {
  color: var(--gold);
  font-size: 15px;
}

.comment-meta time {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.comment-body > p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.comment-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.comment-actions button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 13px;
  transition: color 0.3s;
}

.comment-actions button:hover {
  color: var(--gold);
}

/* Teams */
.teams-section {
  background: linear-gradient(180deg, #132a3a, #1a1a2e);
  padding: 60px 0;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-4px);
}

.team-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255,215,0,0.08);
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.team-header img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.team-header h3 {
  flex: 1;
  font-size: 17px;
  color: #fff;
}

.team-header span {
  font-size: 12px;
  color: var(--gold);
  background: rgba(255,215,0,0.1);
  padding: 4px 10px;
  border-radius: 10px;
}

.team-info {
  padding: 16px;
}

.team-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* Stats */
.stats-section {
  background: linear-gradient(180deg, #1a1a2e, #0d1b2a);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stats-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
}

.stats-card h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.stats-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats-row {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 60px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  transition: background 0.3s;
}

.stats-row:hover {
  background: rgba(255,255,255,0.04);
}

.stats-row.head {
  font-weight: 700;
  color: var(--gold);
  background: rgba(255,215,0,0.06);
}

.stats-row span {
  color: rgba(255,255,255,0.8);
}

.stats-row span:nth-child(4) {
  text-align: right;
  font-weight: 700;
  color: var(--gold);
}

.stats-row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

/* Videos */
.videos-section {
  background: linear-gradient(180deg, #0d1b2a, #132a3a);
  padding: 60px 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.video-card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,215,0,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s;
}

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
}

.duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
}

.video-card h3 {
  font-size: 15px;
  color: #fff;
  padding: 16px 16px 6px;
  line-height: 1.4;
}

.video-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 0 16px 16px;
}

/* Community */
.community-section {
  background: linear-gradient(180deg, #132a3a, #0d1b2a);
  padding: 60px 0;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s;
}

.topic-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-4px);
}

.topic-card.hot {
  border-color: rgba(255,107,0,0.3);
  background: rgba(255,107,0,0.04);
}

.topic-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--orange);
  background: rgba(255,107,0,0.1);
  padding: 4px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.topic-card h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}

.topic-card > p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* Footer */
.site-footer {
  background: #070f1a;
  border-top: 1px solid rgba(255,215,0,0.15);
  padding: 50px 0 30px;
}

.footer-links h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 16px;
}

.flink-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.flink-row a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.flink-row a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-bottom a {
  color: var(--cyan);
  text-decoration: none;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .players-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .groups-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .knockout-bracket {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(13,27,42,0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-150%);
    transition: transform 0.3s;
    z-index: 999;
    max-height: 70vh;
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .main-nav a {
    padding: 12px 16px;
    border-radius: 8px;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-search-toggle {
    display: block;
  }
  .header-search-box {
    display: none;
  }
  .header-search-box.show {
    display: block;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 16px;
    background: rgba(13,27,42,0.98);
    border-bottom: 1px solid rgba(255,215,0,0.15);
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-countdown {
    gap: 10px;
  }
  .hero-countdown > div {
    padding: 14px 18px;
    min-width: 70px;
  }
  .hero-countdown span {
    font-size: 28px;
  }
  .countdown-label {
    font-size: 14px;
    padding: 0 16px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
  }
  .hero-cta {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
  }
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .match-cards {
    grid-template-columns: 1fr;
  }
  .groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    flex-direction: column;
  }
  .news-card > img {
    width: 100%;
    height: 180px;
  }
  .news-body {
    padding: 16px;
  }
  .predictions-grid {
    grid-template-columns: 1fr;
  }
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .knockout-bracket {
    grid-template-columns: 1fr;
  }
  .match-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .match-row .teams {
    width: 100%;
    justify-content: space-between;
  }
  .match-row .teams span {
    min-width: auto;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }
  .hero-countdown > div {
    padding: 10px 12px;
    min-width: 60px;
  }
  .hero-countdown span {
    font-size: 22px;
  }
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .quick-item {
    padding: 14px 6px;
  }
  .qi-icon {
    font-size: 24px;
  }
  .qi-text {
    font-size: 11px;
  }
  .groups-grid {
    grid-template-columns: 1fr;
  }
  .players-grid {
    grid-template-columns: 1fr;
  }
  .teams-grid {
    grid-template-columns: 1fr;
  }
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 24px;
  }
  .stats-row {
    grid-template-columns: 36px 1fr 1fr 48px;
    font-size: 12px;
    padding: 8px;
  }
}
